fix all layouts