change strval to string cast