[sr-dev] error when referencing variable