set type of opQueue and view