Fixed wrong variable spelling