Improved DPLC reader bugfix and code consistency change

Improved DPLC reading and misc