Baby has almost die with bed edge