Fixed Jinja app loader creation