fixed routing started submit function