Fixing error in admin order panel