mixed up 'this' and 'that' in store inserter script