Mustaches safe mode for flask