fixed typo that caused pl to fatal error