fixes wrong icon behaviour