fix calc() function.