Fix simple form bug