Fixed issue in process and apt classes