fix tabs and remove testing code