fixed aperture_claculator RunTime error