fixed issue with passing dependencies