merge error in routes