add ngc1167 in main and minor improvements