fix #157 - error in options request handling