working on the alignment bug in the gui