Fixed bugs related to a change from getOwner() to getHexOwner