Fixed Errors in loading policy files