fixed issue with no tickets in database no inc number