fix divide not doing anything