fixed #error function.