prevent resolving empty route