Fix for appData crash (on register)