bug fix: hremove didn't work on reference field