removing session errors