Bugs in triple creation removed