remove debug code
handle response
phpmd fixes
phpmd fixed
fix behavior of multiple amount_selectors