cleaning up some dirty code and warnings from RED