Fixed param name from view to type