Fixes types