adjust general layout and stuff