fix manual layout