fix positioning for correct layout