fixed error raise