compile error check