alanine learning now runs without crashing