added check for legacy sign