fix for parent element shifting