fix calculator plugin