making error dialog fixed