remove duplicated declaration of frontend.