routes bugs fixed