fixing missing $