fixed no variable error