fix layout empty bug
fix limit size bug