fix multiplication timeout bug