fixing small bug w/ trying to write if no options available
fixing another small bug