removes all layout entity related