fix route delete case