removing pub -controller