client side: fix layout