Fixing a bug which doesn't allow to load plugin which haven't api/views