fix signing when not in dir