fixed calculate button