Possible $ is not defined fix