[fix] If given a name, also resolve that