fix queue inheritance