tried to fix the heading direction