remove connected attr