localized the bug