Fixed another bad var name and added another import
Fixed missing parameter