remove stray statements