error message and select is fixed