adding routes. catching nulls