fix precomile issues