admin.js ignoring empty dir