Couple of bugs fixed
local variable bug fixed in player code