remove unnecessary inflate