probably fixed error where amin interface caused error 500