fixed round issue when using variable