Fixed bug in ATKMap