fat lib for both sim & device