remove no-op lines