fixing ladder behaviour