maxmark now submits correctly on enter