[minor] If you didn't want to get the pathname stolen from you module, you shoudn't have used `.on`