fixes type