tweak to fix error