fixed getInt if key is not found it returns 0 now.