fix diagram and .asta