fix calculator plugin
update. basic working