Fix initRoutesAction