fixed Math.trunc