fixes an issue in phpmd