try to deal with some famec compiler issues