fixes in mlp