fixed active nav not properly highlighting when the reloading
wire for upload & fixed test case for UploadCtrl