fixed minor bugs for compatibility with scoreboardmanager