Updated player controller

Minor fixes