add depends check