tidy up debugging lines