Fix policy sync bug