edited uflex code to page