position and size fixes