removed unused fits tools code