should check of route os null, also