fixes for postgresql too