corrected casting to string in evaluation