Fixed reading wrong type from conf