fix multiple policies bugssssssss