temporary fix of setBottom not being called