form prev/next fix and file_order fix