sucurity bugfix for ladder