removed the try/catch block in nexttick