fix compilation problems in fen-package
fen package works