fix some position and style bugs