packageView global definition changed to local so bug is fixed.

Signed-off-by: Baris Yilmaz <baris.yilmaz.1985@gmail.com>