remove extra - at end of file