Fixed issues with hit function