remove two useless methods