fixed missing window option tostring()