scope issue with apt module