fixed _js/astro.js calculation problem