Fixed some glitches

Signed-off-by: shrimpboyho <shrimpboyhoftw@gmail.com>