fix for crashing bug with empty panners