fix input commands so latex is not confused