postgres support, fix remove buttons