fixed notification

will now alert user if successful or not