fixes problem with missing <value> in return