gui wrong direction bug fixed