seg fault was fixed
Merge pull request #275 from AlexanderSavelyev/fmcs_port_21Feb2014

seg fault was fixed