remove unnecessary panel