type signature fix