some problems with layout