ensure fixed GUI length