interface bug fix and data database fix