fix raise syntax