removed session and erros