added missing param in resolve fxn