copy/paste like error referencing not existent variable