hiding alert on print