register static route only when the options array is empty