fix patch error based off of previous removed changes