Fixed error where userInfo was null