Fixed another bug in clean_page method