fix http options method