add int convertion to id return