dependency should check if value is set