small fix to function literal case