try to fix rank=null again
I have no idea what I'm doing