fixed bug with page width