Fix broken ATHM field (was always 0 when used with UEIP)

This closes #5