allowedextension typo