Fixed some errors by Bedunkevich S.V.