report errors
added some layouting