Fixed dependencies timing bug