make it parse options hashes