add restore the command \clearpage after it has been redefined