fixed the bug that player cannot shot