added free to error message