bug in creation o f T4 fixed