refactor to work with BB Code Manager v 1.3.4