fix to include and getType