added rake file to delete invalid data