fix bug on postgres role