Rangers assistant boss Gary McAllister says they are working hard to end the discipline problems which have plagued the team this season.