BAD workaround to escape postgresql error