Bugfix to ATMs