course switch bug and gui in portitem fixed