print finish message in right place