fix admin panel edit tab can't work