fixed prepare statement for postgres