Fixed access-denied behavior