fixes types