fixed dep check