fixed contents of twotypes, thanks to wladislaw