how to beat child endangerment charges