Fixed conversion from array to string