minor changes to Stan