possible fix to the OOM problem