revert gyazo logic