Fix bug. Set id value by field not by method when query from database.