nano code cleaning