removed messagebox on error path