found trouble with line
deleted extra code from drawScalRect()