[BUGFIX] Reference pasting problem