some cleanups in spec dir