As mentioned, set the RTH altitude higher than any possible surrounding structures. Upon taking off, even with a gps lock, it can wander quite a lot. Gain experience in a wide open field. Upon takeoff ascend quickly away from structures (and people!) and let it hover for a bit until it stabilizes.