restore foreman dependency