fixed some minor bugs and made it playable in the PTE