finish function change cover in classpage