TREX Version 1.0

Fix all bug