select all bug fix