modify spec format