fixed form layout.
added more helpful message when build fails due to some reason.