dirty hack for fixing joint direction