move current and bound check position
remove an unused line
one fix
working version:)
Updates:)