fixing registration issues, still one more program error to fix