fixing less variables calc