fix allocated memory for 1st instance on rhel-centos platforms