clean up fast tmx code