cleans some stuff up