fix pcorrect bug in emma