fixed bugs

fixed bug in CreateLCPointFile and with emergent headers