fix long database not int as id