Fixes case in POEMS package

Fixes a case issue in poems package. Also applies minor code formating changes