fix bug calculating total, changing operational area