ensure security and charset gets enabled