Fixed undefined variables in attribute maps