fixed error on computing