fixed html to handle multiple dependencies properly