replace layout: nil with layout: null (apparently nil was wrong)