handling of new instances, tabs->spaces (sorry)