Corrected POD error

Corrected problem created when adding POD for the cleanup option