can switch bettwen webworker and normal