fixed overflow when selected