added six indices for better performance
Always sort the parameters input form
Display error messages as html_safe