Fix scale by 0