Fix raise exception call