Fix bug issue with dependencies