fixing the copy specs function