Text this: Advanced space-charge-limited current model for analyzing fermi level shift in the bandgap of halide perovskites