modify gui lib