fixing layout for user interface