Revert to previous commit
Fixed variable name issue