Remove white spaces from Page class