fix test & emit-form