shored up a couple more small potential memory issues in compute J