fixes layouts