visibility
bugfix
added __ prefix for last_page property in state