Fixed endpoint not being passed to form tag