Correcting optional config type