complete the code-generater/fix the database properties file