fix multiplication error