fixed the alignment issue of the UI