Correct xray permission