remove unrequire public directory