Fixed the bug in shoot.