got rid of previous buttons