remove pal dependency