Fix typo
Update dependency on when