Fixed error with String conversion