Fixed mul/div bug