prepare spec/handle_spec.c