fixes type in referencing libs