fix for automatical recreation of constraints after loading