Remove unnecessary cast to string