Remove weird space when error occurs in form