feature(format) permissions if: perms -> perms !== undefined