remove registered observer