removed error prints
removed some debug printing
fixed bug with default sections