fix bug in kernel - forgot to init mpf type