Fixed unread SQL ti be more compatible