ensure proper removal of file
minor lints