near player check fix