fix layout bug 

issue #67