fix variable names and dep check
fixed wording