dependency not resolving when initiating module