remove needless guard