fixed issue with negotive ID