fix routes parse