get rid of fancy echo to test if that's causing the problems