fixed internal error 500. now frontend can invoke parseRoute with no error