Bug Fix

Fixed bug if program entry has 0 area or 0 count