fixed errors in databaseHelper.java