trying to deal with a null pointer exception in alignment_counter initialization