fix #1 Remove fig dependency