fixes stupid error in sig proc routine