fixing problem with dependency