partial cleanup of pls