fix syntax of raise