Undefined variable spacer issue was fixed