application to calc bug fixed