Fixed error in security schema