fixed the way the box behaves when successful application is made