minor bug fix for registration workers.