remove important declarations for rem