Remove unnecessary casting to string