updating error_box() function calls. second argument was modified.