PLA-111: fix method accessing
PLA-111: fix some warnings