add items and validate GUI and fix some bug