some dependencies and minor fixes