orpho errors fixes