fix tiny boolean from mysql