cannot fix that loading logic