made a change in the warning message to make it more apparent that the size parameter is wrong