temporary fix for division bug