layout device in depend modified