stock view cleanup