fix a big bug with dependencis in solution