initialise enum
initialise NavigationMode enum
fix CID 60866, integer is cast to float or double
CID 68697 : fix Coverity issue : dereference null return value, when getting package info