adds security fix for pg