fixed minor issue with macro.