got rid of alert in scroll