attempts to fix error