fixed case sensitivity in restriction names