fix parent elements bug