fix small issue on inventory page, created populate db script