fixed bug when config works only with int type but not with int32, int64 etc