fix annoying error for register script