fixed some part of GUI