still getting double free error