Band Structure and Fermi Energy Level

Dear All,

Hope you are fine and stay safe. I have a question/problem in Band Structure of perovskite solar cells.
When I draw the band structure of a compound to calculate Energy Band Gap, I put Fermi Energy Level on the graph, but it is located under the line that represents Valence band. I attached the image of the graph, the stright red line is Fermi energy level. Could any one of you Please tell me is this correct or the reason of the issue if it is possible. Is this technical problem or scientific problem.
Warm Regards
Band Structure.JPG