dock:: remove logger.Error and fix invalid docked app.

1. remove logger.Error.
2. fix invalid docked app, undock that.