Forgot to remove global register