correcting multiplication error