fixed some issues with dependencies