fix preql errors