res:dock:: fix trash get wrong state