Fixed dependency bug