compiler: fix crash