player movement fix and not allowed to enter in rock !!