suppots compass project config now, add error log function