select 2 bug fixes