fixed routing errors