res path error in admin.