fix for signal length