correct routes types of variables