Fixed warning in the project because of missing returns of size caused some problems.