fixing usage progile calculation