Correct Error in mailgun index view