partial fix to babel version patch