fixed dependencies in prepare