solved bug when insert file route