fix for calculating deprection by months