better GUI for custom and some bug fixed