Use isset instead of some bad hack