fix phpmd errors