fixed dependency issue with plugins