alert fix for page permissions