prevent crash when off target is empty and add option for on target only 99a0d01 ericckim03 commited on May 1, 2023