Reset 'shell' to improve compatibility