fixed wrong newpage