fix allow/deny definiton methods