guard message, url props in API response
fix phpmd violations