Fixed bug in depend clause