fix bugs on cover div