Fixed bug in base_page, when no data is passed by controller