Fixed error with permissions True/False