fixed output format and optimization parameters of findmex