fixes #56. implemented many to one for figures