fix errors in previous commits