small bugfix with the base context variable