fix for contoller