fix syntax errors in readactor