Fixed bug in dependencies