fixed keyval parser to support multiple '=' signs