Correcting dependency problem