fix documentation for melt function