fixed a validation bug in mhplot initialize()