wrong column name and session date fix