fixed errors with key=value