fixed a ladder bug