corrected logging for aid 0