small fix for non absolute elements