fixed a failing assertion for the auto protein models