fixed bug where things freakout if no onClick in options