more compilation fixes for molecule id going from int to tagint