param tweak to fix memory errors