Fixed compute and vmops bugs