adding minor fix for atBottom