fixes small bug that crashed Alfred workflow