[FIX] Handle conversion of string to integer from env