fix usertype parent is layer bug