Fix crash when meta is nil