fix html display bug
fix db_session bug