cleaning dependencies and some rogue \r