Fix for typing flag