fixed phpmd warnings