partially fixed error message box (precompiled)