Fixed chosen directive console error for mobile devices