added temporary solution to post-factum refs adding