hide on/off function in policy