remove excess nano code