changed configuration and fixed issues with policy