Bug fix to getSGPConfig