fixed a bug where plugins were requried to have layouts