ID bug fixed. Improved table properties handling.