remove error testing from sessions