Change scalar_symbol into expr