[Parser] Fixed addVariable bug (doesn't create another if needed)