remove unnecessary casting to string