fixed options response
add documentation