fix dom manipulation on admin (very ugly for now)