Fixed a bug in create sym links file