read and unread flag
fix confilt in sql file