please always do REF before unref since it might be the same object with ref-count 1 (is deleted then)