fix crash if user enters [code]