modified mvc_loader