fixing bug in brush mixing