Fix typo
Fix footer permission check