fixed directionality problem