call try in case value could be nil
fix missing module declaration