compile error and testdb