catch erros, fix workflow and cs issues