plugman bugfixing