Little fix on admin_class and framework