cleanup spec helper