fix parent end app bugs