bug fix for single word classes