correction of mini-bugs