fix function spec path