fix hiding extract method bug