added case default

unexpected alert behaviour