attempt to dynamically determine the correct position of adding options,
but failed