few bugs fixed
 added check for black language