fixed ladder bug