change working with alert