Fix theme/preprocess rank