everything written fix errors