app:dock:: remove some useless code.