Fixes classcastexception for arrow on user side