remove unneeded setTimeout call