fix wonky errors